package com.dnjn.happiness.emo.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 *
 * @author happy
 */
@Getter
@Setter
@RefreshScope
@Component
@ConfigurationProperties(prefix = "happiness")
public class HappinessEmoConfig {

    private String domain;

    private Long daysAgo;

    private String ferPath;

    private Integer maxScore;

    private Integer miniScore;

}
